#CFLAGS= `pkg-config --cflags sdl`
#LDLIBS= `pkg-config --libs sdl`
#LDLIBS= -/Users/Chanus/Documents/portage/fakeroot/lib -lSDL -lSDLmain
LDLIBS= SDLmain.m -framework SDL -framework Cocoa
LDFLAGS=

all : main
	mv main Exec

main : main.o Data.o Controller.o Menu.o Game.o PathFinding.o 

Data.o : Data.h Data.c

Controller.o : Controller.h Controller.c

Menu.o : Menu.h Menu.c

Game.o : Game.h Game.c

PathFinding.o : PathFinding.h PathFinding.c

clean :
	rm -rf *.o
mrproper :
	rm -rf Exec


